package 补充.集合框架;

import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.util.Properties;

public class TestProperties {
    public static void main(String[] args) throws IOException {
        Properties prop = new Properties();
        prop.setProperty("user","100phone");
        prop.setProperty("password","100phone");
        prop.store(new FileOutputStream("trst.ini"),"title");
    }
}
